import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

import '@/assets/css/main.scss'
import '@/assets/css/tailwind.css'
import BaiduMap from 'vue-baidu-map-3x'
import {registerEcharts} from "@/plugins/echarts"
import './assets/css/style.scss';


const app = createApp(App)
registerEcharts(app)
app.use(createPinia())
app.use(router)
app.use(BaiduMap, {
    // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
    ak: 'hFNrgAi0ZaV35LBxnPOShyw5NfdQYCCt',
    // v:'2.0',  // 默认使用3.0
    // type: 'WebGL' // ||API 默认API  (使用此模式 BMap=BMapGL)
})
app.mount('#app')
